﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LOLServer.DAO.Model;
using NetFrame;

namespace LOLServer.Biz.User.Interface
{
   public interface IUserBiz
   {
       bool CreateUser(UserToken token, string name);
       UserModel GetUser(UserToken token);
       UserModel OnLine(UserToken token);
       UserModel GetUserByUserId(int userId); 
       void OffLine(UserToken tokne);
       UserToken GetConnectUser(int userId);
        UserModel getByAccount(UserToken token);
    }
}
